package cn.stylefeng.guns.modular.system.mapper;

import cn.stylefeng.guns.modular.system.entity.SysAgent;
import cn.stylefeng.guns.modular.system.model.AgentDto;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 代理人用户管理表 Mapper 接口
 * </p>
 *
 * @author zfy
 * @since 2020-08-08
 */
public interface SysAgentMapper extends BaseMapper<SysAgent> {


    IPage<AgentDto> agentList(@Param("page")Page page,
                               @Param("name")String name,
                               @Param("examine")Integer examine,
                               @Param("userId")Long userId);
}
